<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div th:fragment="query">

    <div class="zmn-form-item">

        <div class="item-inline">
            <label class="inline-label">员工：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <div id="staffId"></div>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">平台：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="plat" id="plat">
                            <option value=""></option>
                            <option th:each="plat:${platList}" th:value="${plat.key}" th:selected="${plat.key == vo.plat}" th:text="${plat.value}"/>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">公司：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="companyId">
                            <option value="">请选择</option>
                            <zmn th:each="company:${baseCompanyList}">
                                <option th:value="${company.companyId}" th:text="${company.name}">公司</option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <div class="zmn-form-item">

        <div class="item-inline col2">
            <label class="inline-label">所属部门：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select lay-filter="deptOneId" id="deptOneId" name="deptOneId" lay-search>
                            <option value=""></option>
                            <option th:each="dept:${oneDepts}" th:value="${dept.deptId}" th:selected="${dept.deptId == vo.deptOneId}" th:text="${dept.deptName}"/>
                        </select>
                    </div>
                    <div class="box-input-inline col2">
                        <select lay-filter="deptTwoId" id="deptTwoId" name="deptTwoId" lay-search>
                            <option value=""></option>
                            <option th:each="dept:${twoDepts}" th:value="${dept.deptId}" th:selected="${dept.deptId == vo.deptTwoId}" th:text="${dept.deptName}"/>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">URI：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="uri" placeholder="请填写URI" autocomplete="uri"
                               class="layui-input"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">APP：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="app" placeholder="请填写APP" autocomplete="off"
                               class="layui-input"/>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="zmn-form-item">
        <div class="item-inline">
            <label class="inline-label">IP：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="ip" placeholder="请填写ip" autocomplete="off"
                               class="layui-input"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">操作时间：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" id="timeRange" name="timeRange" placeholder="yyyy/MM/dd - yyyy/MM/dd"
                               class="layui-input"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-submit">
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="query-submit"><i class="layui-icon">&#xe615;</i>
            </button>
        </div>
    </div>

</div>